package com.lx.bilibili.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class MessageEx{

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("uid")
    private Integer uid;

    @TableField("recvid")
    private Integer recvid;

    @TableField("content")
    private String content;

    @TableField("time")
    private LocalDateTime time;

    @TableField("state")
    private Integer state;

    @TableField(exist = false)
    private String headimg;

    @TableField(exist = false)
    private String name;


}
